package com.epam.edu.command;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.sql.SQLException;

/**
 * Created with IntelliJ IDEA.
 * User: Zhanna_Mukanova
 * Date: 10/7/13
 * Time: 8:57 AM
 * To change this template use File | Settings | File Templates.
 */
public class GoToPageCommand implements Command{
    @Override
    public String perform(HttpServletRequest request, HttpServletResponse response) throws IOException, SQLException {
        return request.getParameter("path");
    }
}
